/** 颜色格式是否匹配 */
let MatchColor = (col:string) =>
    col.match(/^#[0-9A-Fa-f]{6}/) !== null ||
    col.match(/^#[0-9A-Fa-f]{3}/) !== null;

export {MatchColor};